package com.kws.system.service.payment;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kws.system.domain.payment.TbDivisionRule;
import com.kws.system.domain.payment.info.QueryDivisionRuleInfo;
import com.kws.system.domain.payment.rq.CreateDivisionRuleRq;
import com.kws.system.domain.payment.rq.QueryDivisionRuleRq;
import com.kws.system.domain.payment.rq.UpdateDivisionRuleRq;

public interface DivisionRuleService extends IService<TbDivisionRule> {
    Page<QueryDivisionRuleInfo> queryDivisionRulePage(QueryDivisionRuleRq rq);

    boolean createDivisionRule(CreateDivisionRuleRq rq);

    QueryDivisionRuleInfo queryDivisionRuleById(Long id);

    boolean updateDivisionRule(UpdateDivisionRuleRq rq);

    boolean deleteDivisionRuleById(Long id);
}
